﻿﻿/*
* 项目配置文件
*
*
*/
var _type = "余庆"; //新县//安顺//野三坡//贵阳//青岩//盐城//荔波//大鹏//余庆//玉泉
var _home = ""; // 默认首页
var _isOpenPosition = true; // 默认开启定位
var _cityCode = ""; // 城市编码
var _userScoreProject = ""; //项目对应积分编号
_HttpDomain =  "http://222.86.120.149:30090/";
_Menhu = "http://222.86.120.149:30082/";
var _areaCode="101260213";
//     门户后台：http://10.193.129.20:8081/
//     门户前台：http://10.193.129.20:8082/
//     互动交流：http://10.193.129.20:8083/
//     数据中心：http://10.193.129.20:8091/datacent

// 区域
var _district = [{ "value": "", "display": "不限" }, 
        { "value": "800101", "display": "新县" }, { "value": "800102", "display": "苏河镇" }, { "value": "800103", "display": "千斤乡" },
        { "value": "800104", "display": "卡房乡" }, { "value": "800105", "display": "吴陈河镇" }, { "value": "800106", "display": "徒山河镇" },
        { "value": "800107", "display": "郭家河乡" }, { "value": "800108", "display": "陈店乡" }, { "value": "800109", "display": "箭厂河乡" }, 
        { "value": "800110", "display": "八里畈镇" }, { "value": "800111", "display": "田铺乡" }, { "value": "800112", "display": "周河乡" }, 
        { "value": "800113", "display": "新集镇" }, { "value": "800114", "display": "浒湾镇" }, { "value": "800115", "display": "戴咀乡"}];
// 酒店类型
var _hotelType = [{ "value": "", "display": "不限" }, 
        { "value": "110001", "display": "星级饭店" }, { "value": "110011", "display": "商务酒店" }, { "value": "110002", "display": "主题酒店" }, 
        { "value": "110003", "display": "经济酒店" }, { "value": "110004", "display": "休闲农庄" }, { "value": "110005", "display": "公寓式酒店" }, 
        { "value": "110006", "display": "招待所" }, { "value": "110007", "display": "青年旅馆" }, { "value": "110008", "display": "家庭旅馆" }, 
        { "value": "110009", "display": "度假村"}];
// 酒店星级
var _hotelStar = [{ "value": "", "display": "不限" }, 
        { "value": "109001", "display": "一星级" }, { "value": "109002", "display": "二星级" }, { "value": "109003", "display": "三星级" },
        { "value": "109004", "display": "四星级" }, { "value": "109005", "display": "五星级" }, { "value": "109006", "display": "未定星级"}];
// 酒店价格区间
var _hotelPriceRange = [{ "value": "0.9999999", "display": "不限" }, 
        { "value": "0.50", "display": "50元以下" }, { "value": "50.100", "display": "50元到100元" }, { "value": "100.200", "display": "100元到200元" },
        { "value": "200.300", "display": "200元到300元" }, { "value": "300.500", "display": "300元到500元" }, { "value": "500.9999999", "display": "500元以上" }];
// 景区类型
var _scenicType = [{ "value": "", "display": "不限" }, 
        { "value": "129001", "display": "自然山水" }, { "value": "129002", "display": "人文历史" }, { "value": "129003", "display": "休闲度假" },
        { "value": "129005", "display": "主题乐园" }, { "value": "129006", "display": "民俗宗教" }, { "value": "129007", "display": "红色教育" }, 
        { "value": "129009", "display": "古色乡村" }];
// 景区星级
var _scenicStar = [{ "value": "", "display": "不限" }, 
        { "value": "128006", "display": "未评级" }, { "value": "128005", "display": "A" }, { "value": "128004", "display": "AA" }, 
        { "value": "128003", "display": "AAA" }, { "value": "128002", "display": "AAAA" }, { "value": "128001", "display": "AAAAA"}];
// 景区价格区间
var _scenicPriceRange = [{ "value": "0.9999999", "display": "不限" }, 
        { "value": "0.50", "display": "50元以下" }, { "value": "50.100", "display": "50元到100元" }, { "value": "100.200", "display": "100元到200元" },
        { "value": "200.300", "display": "200元到300元" }, { "value": "300.500", "display": "300元到500元" }, { "value": "500.9999999", "display": "500元以上" }];
// 线路类型
var _lineType = [{ "value": "0", "display": "不限" }, 
        { "value": "720001", "display": "周边游" }, { "value": "720002", "display": "自然" }, { "value": "720003", "display": "人文" }, 
        { "value": "720004", "display": "休闲" }, { "value": "", "display": "不限" }, { "value": "赏花", "display": "730002" }, 
        { "value": "730003", "display": "亲水游" }, { "value": "730004", "display": "观光游" }, { "value": "730005", "display": "度假游"}];
// 线路价格区间
var _linePriceRange = [{ "value": "0.9999999", "display": "不限" }, 
        { "value": "0.50", "display": "50元以下" }, { "value": "50.100", "display": "50元到100元" }, { "value": "100.200", "display": "100元到200元" },
        { "value": "200.300", "display": "200元到300元" }, { "value": "300.500", "display": "300元到500元" }, { "value": "500.9999999", "display": "500元以上" }];
// 线路天数
var _lineDays = [{ "value": "", "display": "不限" }, 
        { "value": "1", "display": "1天" }, { "value": "2", "display": "2天" }, { "value": "3", "display": "3天" },
        { "value": "4", "display": "4天" }, { "value": "5", "display": "5天" }, { "value": "6.", "display": "5天以上" }];
// 团购类型
var _groupType = [{ "value": "", "display": "不限" }, 
        {"value":"0.850001","display":"美食"},{"value":"0.850002","display":"特产"},
        {"value":"0.850003","display":"娱乐"},{"value":"0.850004","display":"乡村游"}];
// 团购价格区间
var _groupPriceRange = [{ "value": "0.9999999", "display": "不限" }, 
        { "value": "0.50", "display": "50元以下" }, { "value": "50.100", "display": "50元到100元" }, { "value": "100.200", "display": "100元到200元" },
        { "value": "200.300", "display": "200元到300元" }, { "value": "300.500", "display": "300元到500元" }, { "value": "500.9999999", "display": "500元以上" }];
// 团购人数限制
var _groupUseNumber = [{ "value": "0.9999999", "display": "不限" }, 
        {"value":"870001","display":"单人餐"},{"value":"870002","display":"双人餐"},
        {"value":"870003","display":"3-4人"},{"value":"870004","display":"5-6人"},
        {"value":"870005","display":"7-8人"},{"value":"870006","display":"9-10人"},
        {"value":"870007","display":"10人以上"},{"value":"870008","display":"其他"}];
// 餐厅类型
var _restaurantType = [{ "value": "", "display": "不限" }, 
        { "value": "102001", "display": "中餐" }, { "value": "102002", "display": "西餐" }, { "value": "102003", "display": "快餐" },
        { "value": "102004", "display": "东南亚餐厅" }, { "value": "102005", "display": "休闲小吃" }, 
        { "value": "102006", "display": "火锅烧烤" }, { "value": "102007", "display": "自助" },
        { "value": "102008", "display": "日韩料理" }, { "value": "102009", "display": "甜品店"}];
// 商圈类型
var _businessType = [{ "value": "", "display": "不限" }, 
        { "value": "1", "display": "商圈" }, { "value": "2", "display": "名街" }, { "value": "3", "display": "综合购物中心"}];
// 娱乐类型
var _entertainmentType = [{ "value": "", "display": "不限" }, 
        { "value": "127001", "display": "洗浴按摩" }, { "value": "127002", "display": "KTV" }, { "value": "127003", "display": "影剧院" },
        { "value": "127004", "display": "酒吧" }, { "value": "127007", "display": "棋牌桌游" }, { "value": "127010", "display": "电玩游戏" }, 
        { "value": "127011", "display": "网吧" }, { "value": "127013", "display": "游泳" }, { "value": "127014", "display": "羽毛球网球" }, 
        { "value": "127015", "display": "篮球排球" }, { "value": "127016", "display": "乒乓球" }, { "value": "127018", "display": "健美舞蹈" }, 
        { "value": "127019", "display": "保龄球" }, { "value": "127020", "display": "竞速" }, { "value": "127021", "display": "射击击剑" },
        { "value": "127022", "display": "足球橄榄球" }, { "value": "127023", "display": "台球" }, { "value": "127024", "display": "高尔夫球" }, 
        { "value": "127025", "display": "滑冰" }, { "value": "127026", "display": "综合健身" }, { "value": "127027", "display": "儿童乐园" }, 
        { "value": "127028", "display": "咖啡厅茶室" }, { "value": "127029", "display": "密室鬼屋" }, { "value": "127030", "display": "体验馆" }, 
        { "value": "127031", "display": "激斗"}];

var _foodType = [{"display": "不限", "value": ""},
    {"display": "热菜", "value": "108001"}, {"display": "凉菜", "value": "108002"},
    {"display": "火锅", "value": "108003"}, {"display": "汤羹", "value": "108004"}, {"display": "烧烤", "value": "108005"},
    {"display": "甜点", "value": "108006"}, {"display": "小吃", "value": "108007"}, {"display": "糕点", "value": "108008"},
    {"display": "饮料", "value": "108009"}, {"display": "咖啡", "value": "108010"}, {"display": "茶品", "value": "108011"},
    {"display": "汤", "value": "108012"}, {"display": "烧烤", "value": "108013"}, {"display": "面粉", "value": "108014"},
    {"display": "其它", "value": "108015"}, {"display": "西餐", "value": "108016"}, {"display": "主食", "value": "108017"}]

//基础数据
var iss_dictionaryBaseData = {
    foodType: function () {
        return _foodType
    },
    district: function () {
        return _district;
    },
    hotelType: function () {
        return _hotelType;
    },
    hotelStar: function () {
        return _hotelStar;
    },
    hotelPriceRange: function () {
        return _hotelPriceRange;
    },
    scenicType: function () {
        return _scenicType;
    },
    scenicStar: function () {
        return _scenicStar;
    },
    scenicPriceRange: function () {
        return _scenicPriceRange;
    },
    lineType: function () {
        return _lineType;
    },
    linePriceRange: function () {
        return _linePriceRange;
    },
    lineDays: function() {
        return _lineDays;
    },
    groupType: function () {
        return _groupType;
    },
    groupPriceRange: function () {
        return _groupPriceRange;
    },
    groupUseNumber: function () {
        return _groupUseNumber;
    },
    restaurantType: function () {
        return _restaurantType;
    },
    businessType: function () {
        return _businessType;
    },
    entertainmentType: function () {
        return _entertainmentType;
    },
    latitude:0,
    longitude:0,
};
 
// 配置
var ISS_Constants = {
    Url: {
        //我要报名验证
        const_yuqing_activity_verification:"http://http://222.86.120.149:30090/api/CmsService/ActivityCheckIsCanSignUp",
        //我要报名
        const_yuqing_activity_signup:"http://http://222.86.120.149:30090/api/CmsService/ActivitySignUp",

        //聚合 列车 车站查询
        const_train_station: "http://apis.juhe.cn/train/ticket.cc.php?key=6de2903b0e7181c7c7e916e6ae2c46e0&callback=?",
        //聚合 列车 车次查询
        const_train_number: "http://apis.juhe.cn/train/s?key=6de2903b0e7181c7c7e916e6ae2c46e0&callback=?",
        //航班查询
        const_flight_station: "http://apis.juhe.cn/plan/bc?key=098a54a0dfa9d57a22124cd37835a39a&callback=?",
        //长途汽车查询
        const_bus_ticket_station: "http://op.juhe.cn/onebox/bus/query_ab?key=5c4215e50a4f167cc3b83eaf60cd179c&callback=?",

        //数据中心地址
        // datacenter:"http://222.86.120.149:30091/datacent/loginx.jhtml",

        // 数据中心
        defaulturl: _HttpDomain + "Content/Handler/ISSDataCenterApi.ashx?serviceName=", 
        // 门户前台
        const_portal_url: _HttpDomain + "Content/Handler/ISSPortalApi.ashx",
        // 互动交流
        const_sns_url: _HttpDomain + "Content/Handler/ISSSnsApi.ashx",
        // 游记详情
        const_forum_url: "http://222.86.120.149:30083/Handler/Blog.ashx",
        // const_forum_url: _HttpDomain + "Content/Handler/ISSSnsApi.ashx",
        //活动
        const_activity_url: _Menhu + "Api/CMSService/GetCatalogContentList",
        const_activity_detail_url: _Menhu + "Api/CMSService/GetContentDetails",
        
        // 百度
        const_baidu_url: _HttpDomain + "Content/Handler/BaiduApiHandler.ashx",

        //微信接口 获取openid
        const_weixin_openid: _HttpDomain + "Content/Handler/WeChatHandler.ashx?type=1",
        //微信接口 用户授权获取用户信息
        const_weixin_userinfo: _HttpDomain + "Content/Handler/WeChatHandler.ashx?type=2",
        //微信接口 刮刮卡
        const_weixin_guaguacard: _HttpDomain + "Content/Handler/WeChatHandler.ashx?type=3",
        //微信接口 大转盘
        const_weixin_luckdraw: _HttpDomain + "Content/Handler/WeChatHandler.ashx?type=4",
        //微信接口 投票
        const_weixin_vote: _HttpDomain + "Content/Handler/WeChatHandler.ashx?type=5",
        //微信接口 推送
        const_weixin_push: _HttpDomain + "Content/Handler/WeChatHandler.ashx?type=6&action=1",
        //微信接口 推送详情
        const_weixin_push_detail: _HttpDomain + "Content/Handler/WeChatHandler.ashx?type=6&action=3",
        //微信接口 签到
        const_weixin_signin: _HttpDomain + "Content/Handler/WeChatHandler.ashx?type=7&action=1",
        //微信接口 签到保存
        const_weixin_signin_save: _HttpDomain + "Content/Handler/WeChatHandler.ashx?type=7&action=2",
        //微信接口 足迹
        const_weixin_footpoint: _HttpDomain + "Content/Handler/WeChatHandler.ashx?type=8&action=1",
        //微信接口 足迹保存
        const_weixin_footpoint_save: _HttpDomain + "Content/Handler/WeChatHandler.ashx?type=8&action=2",
        //景区列表-语音导览
        const_wechat_Attraction: _HttpDomain + "Content/Handler/WeChatHandler.ashx?type=14&action=1",
        //景点列表-语音导览
        const_wechat_Scenic: _HttpDomain + "Content/Handler/WeChatHandler.ashx?type=15&action=1",
        //微信接口 发送验证码
        const_weixin_send_verificationCode: _HttpDomain + "Content/Handler/WeChatHandler.ashx?type=11&action=15",
        //微信接口 校验验证码
        const_weixin_get_verificationCode: _HttpDomain + "Content/Handler/WeChatHandler.ashx?type=11&action=1",
        //同步WAP_User数据
        const_weixin_wapuser_save: _HttpDomain + "Content/Handler/WeChatHandler.ashx?type=12&action=2",
        //获取Wap_Orders数据
        const_weixin_waporders_get: _HttpDomain + "Content/Handler/WeChatHandler.ashx?type=41&action=1",
        //保存WAP_User数据
        const_weixin_waporders_save: _HttpDomain + "Content/Handler/WeChatHandler.ashx?type=41&action=2",
        //发送模板消息
        const_weixin_TemplateMessage_send: _HttpDomain + "Content/Handler/WeChatHandler.ashx?type=51&action=20",

         //我秀我景-添加
        const_myshowscene_add_uploadloacl:_HttpDomain + "Content/Handler/WeChatHandler.ashx?type=33&serviceName=''",

        //投票活动详情
        const_wechatvote_info: _HttpDomain + "Content/Handler/WeChatHandler.ashx?type=9&action=1&serviceName=''",
        //投票活动参赛人详情
        const_wechatvote_detail: _HttpDomain + "Content/Handler/WeChatHandler.ashx?type=9&action=11&serviceName=''",
        //投票活动排名
        const_wechatvote_ranking: _HttpDomain + "Content/Handler/WeChatHandler.ashx?type=9&action=12&serviceName=''",
        //投票活动报名
        const_wechatvote_signup: _HttpDomain + "Content/Handler/WeChatHandler.ashx?type=9&action=10&serviceName=''",
        //投票往期回顾
        const_wechatvote_history: _HttpDomain + "Content/Handler/WeChatHandler.ashx?type=9&action=19&serviceName=''",
        //投票
        const_wechatvote_voted: _HttpDomain + "Content/Handler/WeChatHandler.ashx?type=9&action=13&serviceName=''",
        //分享
        const_wechat_share: _HttpDomain + "Content/Handler/WeChatHandler.ashx?type=49",
  
        //统一下单
        const_weixin_unifiedorder: _HttpDomain + "Content/Handler/WeChatHandler.ashx?type=42",
        //申请电商退款
        const_weixin_applyrefund: _HttpDomain + "Content/Handler/WeChatHandler.ashx?type=50",
        //退款
        const_weixin_refundorder: _HttpDomain + "Content/Handler/WeChatHandler.ashx?type=45",
        //扫码支付(生成图片流)
        //const_weixin_bizpay: _HttpDomain + "Content/Handler/WeChatHandler.ashx?type=46",
        //扫码支付(展示图片)
        const_weixin_bizpay_showimg: _HttpDomain + "Pages/WeiXin/Handler/WeChatImg.aspx?",
        //生成二维码图片
        const_weixin_bizpic: _HttpDomain + "Content/Handler/WeChatHandler.ashx?type=47",
        //添加详情页日志
        const_wechat_detaillog_add: _HttpDomain + "Content/Handler/WeChatHandler.ashx?type=13&action=2&serviceName=''",
        //获取当前用户浏览详情日志
        const_wechat_detaillog_get: _HttpDomain + "Content/Handler/WeChatHandler.ashx?type=13&action=1&serviceName=''",
        //获取分享地址
        const_wechat_url_get:_HttpDomain + "Content/Handler/WeChatHandler.ashx?type=48&action=1&serviceName=''",
        //获取调查问卷数据
        const_Questionnaire_get:_HttpDomain + "Content/Handler/WeChatHandler.ashx?type=16&action=1&serviceName=''",
        //保存调查问卷数据
        const_Questionnaire_add:_HttpDomain + "Content/Handler/WeChatHandler.ashx?type=16&action=2&serviceName=''",
        //获取门票抢购活动数据
        const_weixin_TickePanicBuying_get:_HttpDomain + "Content/Handler/WeChatHandler.ashx?type=34&action=1&serviceName=''",
        //保存抢购门票的人
        const_weixin_TickePanicBuying_player_save:_HttpDomain + "Content/Handler/WeChatHandler.ashx?type=34&action=2&serviceName=''",
        //获取抢购门票的人
        const_weixin_TickePanicBuying_player_get:_HttpDomain + "Content/Handler/WeChatHandler.ashx?type=34&action=11&serviceName=''",
        //获取抢购订单列表
        const_weixin_TickePanicBuying_Order_get:_HttpDomain + "Content/Handler/WeChatHandler.ashx?type=35&action=1&serviceName=''",
        //获取抢购订单列表
        const_weixin_TickePanicBuying_OrderDetail_get:_HttpDomain + "Content/Handler/WeChatHandler.ashx?type=35&action=3&serviceName=''",
        //获取微信报名活动列表
        const_weixin_WechatAcitvity_get:_HttpDomain + "Content/Handler/WeChatHandler.ashx?type=36&action=1&serviceName=''",
        //获取微信活动报名的字段
        const_weixin_WechatAcitvityFiled_get:_HttpDomain + "Content/Handler/WeChatHandler.ashx?type=36&action=21&serviceName=''",
        //微信活动注册
        const_weixin_WechatAcitvity_SignUp:_HttpDomain + "Content/Handler/WeChatHandler.ashx?type=36&action=10&serviceName=''",
    },
 
    // 路由
    Identifier: {
        news: "know/dynamic/news",
        festivalNews: "know/dynamic/FestivalNews",
        chi: "mobile/wanzhuan/chi",
        zhu: "mobile/wanzhuan/zhu",
        you: "mobile/wanzhuan/you",
        gouwu: "mobile/wanzhuan/gou",
        wan: "mobile/wanzhuan/wan",
        mai: "mobile/wanzhuan/mai",
        lyhotel: "qingyan/booking/lyhotel",
        activity: "know/activity", //活动
    },

    serviceName: {
        USERINFO: "DC_USERCENTER", /* 用户 */
        CMS: "DC_WEB_CMS", /* CMS */
        RESTAURANT: "DC_WEB_RESTAURANT", /* 餐厅 */
        FOOD: "DC_WEB_FOOD",/*美食*/
        LOCALPRODUCT: "DC_WEB_LOCALPRODUCT", /* 特产 */
        BUSINESS: "DC_WEB_BUSINESS", /* 购物 */
        ENTERTAINMEN: "DC_ENTERTAINMEN", /* 娱乐 */
        WEB_ENTERTAINMEN: "DC_WEB_ENTERTAINMENT", /*  */
        FESTIVALS: "DC_WEB_FESTIVALS", /*  */
        FARMHOUSE: "DC_WEB_FARMHOUSE", /* 乡村游 */
        TRAVELAGENT: "DC_WEB_TRAVELAGENT", /* 旅行社 */
        HOTEL: "DC_B2C_HOTEL", /* 酒店 */
        LINE: "DC_B2C_LINE", /* 线路 */
        ATTAR: "DC_B2C_ATTAR", /* 景区 */
        TICKET:"DC_B2C_TICKET", /* 门票 */
        GROUP: "DC_B2C_GROUP", /* 团购 */
        ORDERS: "DC_B2C_ORDERS",
        ORDER: "DC_B2C_ORDER",
        DELORDER: "DC_B2C_ORDERTASK",
        CREATEORDER: "DC_B2C_CreateOrder",
        PRODUCT:"DC_C2C_PRODUCT",
        COMPLAIN:"DC_COMPLAIN",
        TOURPLAN:"DC_TOURPLAN_SMARTTJTYPE",/*行程计划*/
        FOOTMARK:"DC_MOBILE_THEME",/*足迹*/
        FOOTMARKLIKE:"DC_MOBILE_LIKE",/*足迹点赞*/
        FOOTCOMMENT:"DC_MOBILE_COMMENT",/*足迹回复*/
        FOOTMARKCOLLECTION:"DC_MOBILE_COLLECTION",/*足迹收藏*/
        FOOTMARKTHEME: "DC_MOBILE_THEME",/*足迹主题*/
        USERSCORE: "DC_C2C_SCORE" /*用户积分*/
    },
    serviceKey:{
        KEY:"rYzcn1iQWiCz9pCtJ68Eng==" /*数据中心加密key值*/
    },

    // 平台服务名称
    PortalServiceName: {
        GetCatalogContentList: "GetCatalogContentList", // 栏目内容列表
        GetContentDetails: "GetContentDetails", // 栏目详情
        GetActivityUserInfoList: "GetActivityUserInfoList", // 报名人列表
        GetUserJoinActivity: "GetUserJoinActivity", // 活动报名
        GetUserAvatar: "GetUserAvatar", // 用户头像
        AddSmarttragel:"SmartTravel",//保存行程
    },

    //用户实体信息
    User: {
        name: "",
        longitude: "",
        latitude: "",
        address: "",
        city: "",
        uid: ""
    },

    //微信JS-SDK接口
    JSSDK:{
        onMenuShareTimeline:"onMenuShareTimeline", /*分享到朋友圈*/
        onMenuShareAppMessage:"onMenuShareAppMessage", /*分享给朋友*/
        onMenuShareQQ:"onMenuShareQQ", /*分享到QQ*/
        onMenuShareWeibo:"onMenuShareWeibo", /*分享到腾讯微博*/
        onMenuShareQZone:"onMenuShareQZone", /*分享到QQ空间*/
        startRecord:"startRecord", /*开始录音接口*/
        stopRecord:"stopRecord", /*停止录音接口*/
        onVoiceRecordEnd:"onVoiceRecordEnd", /*监听录音自动停止接口*/
        playVoice:"playVoice", /*播放语音接口*/
        pauseVoice:"pauseVoice", /*暂停播放接口*/
        stopVoice:"stopVoice", /*停止播放接口*/
        onVoicePlayEnd:"onVoicePlayEnd", /*监听语音播放完毕接口*/
        uploadVoice:"uploadVoice", /*上传语音接口*/
        downloadVoice:"downloadVoice", /*下载语音接口*/
        chooseImage:"chooseImage", /*拍照或从手机相册中选图接口*/
        previewImage:"previewImage", /*预览图片接口*/
        uploadImage:"uploadImage", /*上传图片接口*/
        downloadImage:"downloadImage", /*下载图片接口*/
        translateVoice:"translateVoice", /*识别音频并返回识别结果接口*/
        getNetworkType:"getNetworkType", /*获取网络状态接口*/
        openLocation:"openLocation", /*使用微信内置地图查看位置接口*/
        getLocation:"getLocation", /*获取地理位置接口*/
        hideOptionMenu:"hideOptionMenu", /*隐藏右上角菜单接口*/
        showOptionMenu:"showOptionMenu", /*显示右上角菜单接口*/
        hideMenuItems:"hideMenuItems", /*批量隐藏功能按钮接口*/
        showMenuItems:"showMenuItems", /*批量显示功能按钮接口*/
        hideAllNonBaseMenuItem:"hideAllNonBaseMenuItem", /*隐藏所有非基础按钮接口*/
        showAllNonBaseMenuItem:"showAllNonBaseMenuItem", /*显示所有功能按钮接口*/
        closeWindow:"closeWindow", /*关闭当前网页窗口接口*/
        scanQRCode:"scanQRCode", /*调起微信扫一扫接口*/
        chooseWXPay:"chooseWXPay", /*发起一个微信支付请求*/
        openProductSpecificView:"openProductSpecificView", /*跳转微信商品页接口*/
        addCard:"addCard", /*批量添加卡券接口*/
        chooseCard:"chooseCard", /*拉取适用卡券列表并获取用户选择信息*/
        openCard:"openCard", /*查看微信卡包中的卡券接口*/
        consumeAndShareCard:"consumeAndShareCard" /*核销后再次赠送卡券接口*/
    },

};

//公共元素
var ISS_Element = {
    // DIV: {
    //   noAnswer: "<div id='noAnswer' style='margin:auto;text-align:center;font-family:微软雅黑;font-size:12;'>对不起，您搜索的结果不存在！</div>",
    // }
    DIV:{
        noAnswer:"<div class='noAnswer' style='height: calc(100vh - 88px);'><img src='../../assets/images/base/icon_no_data.png' style='width:100%'/></div> ",
    }
}

// 初始化配置
function initConfigure(type){
    switch (type) {
        case "余庆":
        document.title = "余庆智慧旅游"; 
        _home = "../../view-yuqing/home/index_new.html";
        iss_dictionaryBaseData.latitude = 27.222143;
        iss_dictionaryBaseData.longitude = 107.910472;
            // 区域
            _district = [{"value":"","display":"不限"},
                {"value":"761001","display":"苟各庄"},{"value":"761002","display":"刘家河"},{"value":"761003","display":"松树口村"},
                {"value":"761005","display":"下庄村"},{"value":"761006","display":"都衙村"},{"value":"761007","display":"南柳子村"},
                {"value":"761008","display":"金三角"},{"value":"761009","display":"紫石口村"}];
            // 酒店类型
            _hotelType = [{ "value": "", "display": "不限" },{ "value": "110015", "display": "南风林" },
                { "value": "110001", "display": "星级饭店" },{ "value": "110002", "display": "主题酒店" }, { "value": "110003", "display": "经济酒店" }, { "value": "110004", "display": "休闲农庄" }, { "value": "110007", "display": "青年旅馆" }, { "value": "110010", "display": "其它" }, { "value": "110011", "display": "商务酒店" }, { "value": "110012", "display": "单体酒店" }, { "value": "110013", "display": "豪华酒店" }];
            // 景区类型
            _scenicType = [{ "value": "", "display": "不限" },
                { "value": "129001", "display": "自然山水" }, { "value": "129002", "display": "人文历史" }, { "value": "129003", "display": "休闲度假" },
                { "value": "129004", "display": "特色街区" }, { "value": "129005", "display": "主题乐园" }, { "value": "129006", "display": "民俗宗教" },
                { "value": "129007", "display": "其它" }];
            //积分
            _userScoreProject = "JG130600000001";
            // 餐厅类型
            _restaurantType = [{ "value": "", "display": "不限" },{ "value": "102010", "display": "南风林" },
                { "value": "102001", "display": "中餐" }, { "value": "102003", "display": "快餐" },
                { "value": "102005", "display": "休闲小吃" }, { "value": "102006", "display": "火锅烧烤" }];
            // 酒店价格区间
            _hotelPriceRange = [{ "value": "0.9999999", "display": "不限" },
                { "value": "0.99", "display": "100元以下" }, { "value": "100.200", "display": "100元到200元" },
                { "value": "200.300", "display": "200元到300元" }, { "value": "300.500", "display": "300元到500元" }, { "value": "500.9999999", "display": "500元以上" }];
            // 线路价格区间
            _linePriceRange = [{ "value": "", "display": "不限" },
                { "value": "0.499", "display": "500元以下" }, { "value": "500.1000", "display": "500元到1000元" }, { "value": "1000.2000", "display": "1000元到2000元" },
                { "value": "2000.3000", "display": "2000元到3000元" }, { "value": "3000.4000", "display": "3000元到4000元" }, { "value": "4000.9999999", "display": "4000元以上" }];
        break;
    }
};

// 初始化样式
function initCss(type){
    dynamicLoading.css("../../assets/css/framework7.min.css");
    dynamicLoading.css("../../assets/css/framework7.themes.min.css");
    dynamicLoading.css("../../assets/css/iss_app_screen-adapter.css");
    dynamicLoading.css("../../assets/css/iss_app_base.css?time=20171213174312");
    dynamicLoading.css("../../assets/css/iss_app_common.css?time=20171213174312");  
    dynamicLoading.css("../../assets/font/iconfont.css");
    dynamicLoading.css("../../assets/third/agile_lite/iconline.css");
    dynamicLoading.css("../../assets/css/mobiscroll/mobiscroll.jquery.min.css");
    switch (type) {
        case "余庆":
            dynamicLoading.css("../../assets/css/iss_pro_yuqing.css?time=20171213174312");
            dynamicLoading.icon("../../assets/images/images-yuqing/logo.ico");
        break;
    }
};

// 样式
initCss(_type);
// 配置
initConfigure(_type);
